package com.trf.library.service;

import com.trf.library.entity.Reader;

import java.util.List;

/**
 * @author 小小唐
 * @Date 2023/4/8-星期六-0:59
 */
public interface ReaderService {
    List<Reader> getReaderList(String name, String id);

    boolean login(String id, String password);

    Reader findReader(String id);

    boolean haveReader(String id);

    int addReader(Reader reader);

    int updateReader(Reader reader);

    int deleteAdminById(String id);
}
